package com.sh.data.engine.application.model.mapper.management;

import com.sh.data.engine.application.model.dto.management.UserDTO;
import com.sh.data.engine.domain.base.model.PageResult;
import com.sh.data.engine.domain.workspace.manager.model.domain.UserDomain;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface UserDTOMapper {
    UserDTO domainToDTO(UserDomain userDomain);

    PageResult<UserDTO> domainToDTOPage(PageResult<UserDomain> userDomainList);
}
